<template>
    <div>
        <h2 class="header_title">人员管理<span @click="create">批量创建</span></h2>
        <div class="_main">
            <div class="grxx">个人信息</div>
            <table class="listTable">
                <tr>
                    <td width="40%">学校: {{ '福田小学' }}</td>
                    <td width="50%">分类: {{ '职工' }}</td>
                </tr>
                <tr>
                    <td>ID: {{ '12345' }}</td>
                    <td>院系: {{ '后勤部' }}</td>
                </tr>
                <tr>
                    <td>班级: {{ '三年二班' }}</td>
                    <td>班主任: {{ 'xxx' }}</td>
                </tr>
            </table>
            <el-form ref="form" :model="form" label-width="120px">
                <el-form-item label="姓名:">
                    <el-input v-model="form.name" clearable class="inp" ></el-input>
                </el-form-item>
                <el-form-item label="性别:">
                    <el-select v-model="form.sex" placeholder="请选择">
                        <el-option label="男" :value="1"></el-option>
                        <el-option label="女" :value="2"></el-option>
                    </el-select>
                </el-form-item>
                <el-form-item label="年龄:">
                    <el-select v-model="form.sex" placeholder="请选择">
                        <el-option v-for="index in 19" :key="index" :value="index">{{ index }}</el-option>
                    </el-select>
                </el-form-item>
                <el-form-item label="联系电话:">
                    <el-input v-model="form.name" type="number" clearable class="inp" ></el-input>
                </el-form-item>
                <el-form-item label="家长:">
                    <el-input v-model="form.name" type="number" clearable class="inp" ></el-input>
                </el-form-item>
                <el-form-item label="家长联系电话:">
                    <el-input v-model="form.name" type="number" clearable class="inp" ></el-input>
                </el-form-item>
                <el-form-item label="家庭住址:">
                    <el-input v-model="form.name" clearable class="inp_address" ></el-input>
                </el-form-item>
                <el-form-item>
                    <el-button type="primary" class="_confirmbtn" size="small" @click="confirm">确认</el-button>
                </el-form-item>
            </el-form>
        </div>
    </div>
</template>

<script>
export default {
    data() {
        return {
            form: {
                sex: 1
            }
        }
    },
    methods: {
        create() {

        },
        confirm() {

        }
    }
}
</script>

<style lang="less" scoped>
    /deep/ .el-form-item__label {
        text-align: left;
    }
    /deep/ .el-input__inner{
        background-color: transparent;
        font-size: 13px;
        color: #fff;
    }
    ._main {
        padding: 20px;
    }
    .inp,
    .inp_address {
        float: left;
        display: inline-block;
        width: 200px;
    }
    .inp_address {
        width: 400px;
    }
    /deep/ .el-form-item__label,
    .grxx {
        color: #fff;
    }
    .listTable {
        width: 100%;
        color: #fff;
        margin-top: 15px;
        td {
            padding-bottom: 10px;
        }
    }
</style>